html {   
    background: url('http://subtlepatterns.subtlepatterns.netdna-cdn.com/patterns/otis_redding.png') #ccc;
}

html, body {
    font: normal 12px Verdana,Arial,sans-serif;
    color: #fff;
}

body {
    border: 0.02em solid #000;
    background: url('http://subtlepatterns.subtlepatterns.netdna-cdn.com/patterns/blackorchid.png') #222;
    width: 70em;
    margin: 2px auto 15px;
    padding: 0.5em;
    border-radius: 8px;
}

header {
    width: 65em;
    margin: 0 auto;
    text-align: right;
    background-color: #666;
    padding: 1em;
    border-radius: 5px;
}

header h1 {
    font-size: 3em;
    text-shadow: 2px 2px #bbb;
}

header ul {
    margin: 1em auto;
    width: 51em;
}

div nav li, header li {
    float: left;
    margin-right: 1em;
}

div nav li a, div nav li a:visited, header li a, header li a:visited {
    background-color: #449;
    text-align: center;
    display: block;
    min-width: 8em;
    min-height: 2em;
    color: #ff8;
    font-size: 1.1em;
    text-decoration: none;
    border-radius: 3px;
    padding: 0.1em;
}

div nav li a:hover, div nav li a:active, header li a:hover, header li a:active {
    background-color: #446;
    color: #fff;
}

header>div {
    height: 1.5em;
    clear:both;
    position: relative;
}



aside {
    width: 14em;
    float: right;
    font-style: italic;
    overflow: hidden;
    margin-right: 1.1em;
}

#contenido {
    padding: 1.5em;
    width: 50em;
    min-height: 20em;
}

#contenido h1 {
    text-align: center;
}

.informacion {
    color: #ff8;
}

form {
    border: 1px solid #fff;
    border-radius: 3px;
    padding: 0.5em;
    background-color: #444;
}

form fieldset legend {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 1.5em;
}

form fieldset div {
    margin-bottom: 1em;
}

form label {
    display: block;
    float: left;
    width: 15em;
    cursor: pointer;
}

form div.multiopciones span {
    display: block;
    height: 30px;
    line-height: 30px;
}

form div.multiopciones label {
    display: inline-block;
    float: none;
}

form button, form input[type=submit], form input[type=reset] {
    background-color: #449;
    text-align: center;
    min-width: 8em;
    min-height: 2em;
    color: #ff8;
    font-size: 1.1em;
    border: 0;
    border-radius: 3px;
    margin-left: 15em;
    margin-bottom: 0.5em;
}

div nav ul {
    margin: 1em auto;
    width: 50em;
    height: 30px;
    padding: 2px;
}

#resultadoConsulta {
    clear: both;
    margin-top: 1em;
    display: table;
    width: 100%;
    border-collapse:collapse;
}

#resultadoConsulta li {
    display: table-row;
}

#resultadoConsulta li span {
    display: table-cell;
    padding: 2px;
    border: 1px solid white;
    margin: 0;
}

#resultadoConsulta li.cabeceraConsulta {
    font-weight: bold;
    font-size: 1.05em;
} 
#about {
    font-size: 0.8em;
    border-top: 1px solid #fff;
}

#about p {
    float: right;
}

 div a ,  div a:visited  {
    color: white !important;
    text-decoration: none !important;
    background-color: #449 !important;
    text-align: center !important;
    min-width: 8em !important;
    min-height: 2em !important;
    color: #ff8 !important;
    font-size: 1.1em !important;
    text-decoration: none !important;
    border-radius: 3px !important;
    padding: 0.1em !important;
    cursor: pointer;
}

 header div a, header div a:visited {
    display: block;
    color: #ff8;
    position: absolute;
    right: 0;
}

 div a:hover,  div a:active {
    color: #fff;
}